package com.kkb.kkbportal.domain.ums;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 权限详情表
 * </p>
 *
 * @author lzs
 * @since 2021-08-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Permission对象", description = "权限详情表")
public class Permission implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "权限id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "权限名字")
    private String name;

    @ApiModelProperty(value = "权限描述")
    private String permissionDescription;

    @ApiModelProperty(value = "权限地址")
    private String url;

    @ApiModelProperty(value = "是否被逻辑删除 0：否 1：是")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


}
